# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
# See COPYING for license details.

pkgname=python2-pygoocanvas
pkgver=0.14.1
pkgrel=2
pkgdesc='Python Bindings for goocanvas.'
arch=('x86_64' 'aarch64')
url='https://github.com/dieterv/pygoocanvas'
license=('GPL2')
depends=('python2' 'goocanvas' 'pygtk')
makedepends=('git' 'pkgconfig' 'gtk-doc')
source=("https://github.com/GNOME/pygoocanvas/archive/PYGOOCANVAS_0_14_1.tar.gz")
sha512sums=('dc954747b05a4e954d9c692e83f900cc0e29e34f8734fc1b39274b9b6fe081fbc312c06dd2956a3880e9428927689c46f1c021d556ccfa02c3bf9f94b11136c0')

prepare() {
  cd "pygoocanvas-PYGOOCANVAS_0_14_1"

  ./autogen.sh
}

build() {
  cd "pygoocanvas-PYGOOCANVAS_0_14_1"

  ./configure --prefix=/usr --disable-docs
}

package() {
  cd "pygoocanvas-PYGOOCANVAS_0_14_1"

}
